package Integrity;

import java.io.Serializable;

public class IntegrityDataClass implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 3303182816182502381L;
	private long crcOfTheContentFile;
	private long crcOfTheLinkFile;
	
	public void setCrcOfTheContentFile(long crcOfTheContentFile) {
		this.crcOfTheContentFile = crcOfTheContentFile;
	}
	public long getCrcOfTheContentFile() {
		return crcOfTheContentFile;
	}
	public void setCrcOfTheLinkFile(long crcOfTheLinkFile) {
		this.crcOfTheLinkFile = crcOfTheLinkFile;
	}
	public long getCrcOfTheLinkFile() {
		return crcOfTheLinkFile;
	}
	
	public boolean equals(IntegrityDataClass otherIntegrityData)
	{
		if(crcOfTheContentFile == otherIntegrityData.crcOfTheContentFile &&	crcOfTheLinkFile == otherIntegrityData.crcOfTheLinkFile)
			return true;
		else
			return false;			
	}
}
